@import'model-beta';
@import'color';
* {
    font-family: 'icomoon', "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif!important;
}
.tools_bar_c {
    position: relative;
}
.tools_bar_c_txt {
    position: absolute;
    display: block;
    left: 9px;
    top: 40px;
    width: 20px;
    height: 90px;
    line-height: 20px;
    overflow: hidden;
    padding: 0;
    color: #fff;
    font-size: 14px;
}
.right_panel {
    position: fixed;
    right: -223px;
    z-index: 99999;
    background: #fff;
    height: 100%;
    top: 0;
    @include comic(0.3);
    * {
        @include comic(.3);
    }
    &.focus {
        right: 0;
    }
    .box {
        display: inline-block;
        vertical-align: top;
        width: 223px;
        overflow: hidden;
        background-color: #f2f2f2;
        position: relative;
        height: 100%;
        @include comic(0);
        * {
            @include comic(.1);
        }
        .imbox {
            width: 100%;
            height: 100%;
            overflow: hidden;
            .map_bounds_box {
                width: 100%;
                padding-right: 15px;
                height: 100%;
                overflow-y: scroll;
                overflow-x: hidden;
            }
            .map_keys {
                position: relative;
                padding: 5px 10px;
                top: 210px;
                select {
                    line-height: 1rem;
                    padding: 5px 2px;
                }
                button {
                    border: 0;
                    background-color: #C40000;
                    color: $white;
                    padding: 5px 8px;
                    margin-left: 5px;
                    &.bigmapbtn {
                        margin-left: 0;
                        margin-bottom: 5px;
                    }
                    .icon-expand {
                        &:before {
                            font-size: 12px;
                            padding-right: 3px;
                        }
                    }
                }
            }
            #map_bounds {
                position: relative;
                top: 230px;
                width: 223px;
            }
        }
        .imboxblock {
            height: 230px;
        }
        .bmap {
            position: absolute;
            left: 0;
            background-color: $white;
            top: 0;
            width: 223px;
            height: 200px;
            @include shadow(8px, 0, 10px, $black);
        }
    }
    .tools_bar {
        background: #c40000;
        width: 30px;
        cursor: pointer;
        padding: 0 0px;
        height: 100%;
        display: inline-block;
        vertical-align: top;
        .tools_bar_a {
            height: 120px;
            border-bottom: 1px dotted #fff;
        }
        .tools_bar_b {
            height: 120px;
            border-bottom: 1px dotted #fff;
        }
        .tools_bar_c {
            height: 120px;
            border-bottom: 1px dotted #fff;
        }
        .tools_bar_d {
            height: 38px;
            border-bottom: 1px dotted #fff;
            cursor: pointer;
            position: relative;
            .bar_buff {
                text-align: center;
                line-height: 38px;
                position: absolute;
                color: #fff;
                font-size: 13px;
                height: 38px;
                background-color: #C40000;
                width: 0;
                top: 0;
                right: 180%;
                filter: alpha(opacity=0);
                -moz-opacity: 0;
                -khtml-opacity: 0;
                opacity: 0;
                .triangle-right {
                    width: 0;
                    position: absolute;
                    height: 0;
                    top: 15px;
                    left: 100%;
                    border-top: 0px solid transparent;
                    border-left: 0px solid #c40000;
                    border-bottom: 0px solid transparent;
                }
            }
            &:hover {
                background: #000;
                .bar_buff {
                    filter: alpha(opacity=100);
                    -moz-opacity: 1;
                    -khtml-opacity: 1;
                    opacity: 1;
                    width: 100px;
                    right: 100%;
                    .triangle-right {
                        border-top: 4px solid transparent;
                        border-left: 5px solid #c40000;
                        border-bottom: 4px solid transparent;
                    }
                }
            }
        }
    }
}
.big_map_box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 243px;
    background-color: $white;
}
.icon-heart2, .icon-coin, .icon-star, .icon-map, .icon-arrow-up, .icon-bubble2 {
    display: block;
    height: 38px;
    color: $white;
    text-align: center;
    cursor: pointer;
    &:before {
        line-height: 38px;
        font-weight: lighter;
        font-size: 18px;
    }
}
.head {
    height: 100px;
    .logo_panel {
        width: 500px;
        height: 100px;
        float: left;
        background: url(../img/logo.png) no-repeat 10px 6px;
        cursor: pointer
    }
}
.nav_panel {
    height: 38px;
    border-bottom: 2px solid #c40000;
    ul {
        .nav_li_0 {
            float: left;
            text-align: center;
            height: 36px;
            line-height: 36px;
            font-size: 14px;
            background: #d3d3d3;
            color: #fff;
            width: 200px;
            cursor: pointer;
            label {
                cursor: pointer
            }
        }
        .nav_li {
            float: left;
            width: 125px;
            text-align: center;
            height: 36px;
            line-height: 36px;
            cursor: pointer;
            font-size: 14px;
            position: relative;
            &:hover {
                color: #c40000;
                font-size: 14px;
                font-weight: bold;
                i {
                    display: block
                }
            }
            label {
                display: block;
                cursor: pointer
            }
            i {
                border-left: 9px solid transparent;
                border-right: 9px solid transparent;
                border-bottom: 9px solid #c40000;
                display: inline-block;
                position: absolute;
                bottom: -3px;
                left: 52px;
                display: none
            }
        }
    }
}
.nav_panel ul .nav_li.on i {
    display: block
}
.nav_panel ul .nav_li.on {
    color: #c40000;
}
.search_panel {
    display: inline-block;
    vertical-align: top;
    width: 665px;
    margin-right: 10px;
    padding-top: 20px;
    .search {
        width: 505px;
        padding: 2px;
        background: #c40000;
        border-radius: 2px;
        display: inline-block;
        vertical-align: top;
        position: relative;
        box-shadow: 0 0 5px #ddd;
        &.focus {
            .search_list_aps {
                height: 250px;
                padding: 10px;
            }
        }
        .search_list_aps {
            width: 392px;
            height: 0;
            padding: 0;
            background: #fff;
            position: absolute;
            left: 1px;
            top: 42px;
            border-top: 0;
            z-index: 999;
            border-radius: 0 0 4px 4px;
            @include shadow(0, 0, 8px, #777);
            cursor: pointer;
            @include comic(0.1);
            ul li {
                height: 30px;
                line-height: 30px;
                border-bottom: 1px dotted #f2f2f2;
                cursor: pointer;
                &:hover {
                    background: #f2f2f2;
                }
                span {
                    display: inline-block;
                    vertical-align: top;
                    font-size: 12px;
                    color: #aaa;
                }
            }
        }
        input {
            width: 410px;
            text-indent: 5px;
            border: none;
            height: 35px;
            background: #fff;
            margin-left: 1px;
            cursor: pointer;
            line-height: 1rem;
        }
        button {
            border: none;
            width: 80px;
            height: 37px;
            background: #c40000;
            color: #fff;
            cursor: pointer;
        }
    }
    #my_cart_button {
        width: 100px;
        height: 40px;
        display: inline-block;
        vertical-align: top;
        margin-left: 10px;
        background: -moz-linear-gradient(center top, #ffffff 15%, #f5f5f5 50%, #f0f0f0) repeat scroll 0 0 rgba(0, 0, 0, 0);
        border: 1px solid #ccc;
        border-radius: 2px;
        box-shadow: 0 0 5px #ddd;
    }
    .search_hot_key {
        line-height: 30px;
        color: #ccc;
        font-size: 12px;
        text-indent: 5px;
        a {
            line-height: 30px;
            padding: 0 5px;
            color: #aaa;
        }
    }
}
.chat_panel {
    width: 580px;
    height: 548px;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    background: -moz-linear-gradient(center top, #ffffff 15%, #f5f5f5 50%, #f0f0f0) repeat scroll 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 8px #ddd;
    position: fixed;
    left: 400px;
    top: 80px;
    z-index: 999999;
    display: none;
    overflow: hidden;
    &.focus {
        display: block;
    }
    .chat_panel_header {
        height: 100px;
        background: #f2f2f2
    }
    .chat_panel_body {
        height: 300px;
        overflow-y: scroll;
        border-bottom: 1px solid #d3d3d3
    }
    .chat_panel_footer {
        overflow: hidden;
        .chat_panel_footer_edit_header {
            height: 30px;
            line-height: 30px;
            background: #f2f2f2
        }
        .chat_text_edit {
            width: 97%;
            border: none;
            height: 63px;
            padding: 5px;
            resize: none;
        }
        .chat_panel_footer_sub {
            text-align: right;
        }
        .chat_panel_footer_sub a {
            display: block;
            width: 60px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            border: 1px solid #d3d3d3;
            margin-right: 3px;
            display: inline-block;
            vertical-align: top;
        }
    }
}
